package com.zx.dto.response.goods;

import com.zx.util.Page;

import java.util.List;

/**
 * @author sunkai
 * @date 2022/8/3 0003 23:19
 * @mood zhou xun
 */
public class GoodsDetailDto {
    //商品id
    private Integer id;
    //商品名字
    private String productName;

    private String goodId;

    //库存
    private int inventory;

    //销量
    private Integer sales_volume;

    //评论数量
    private Integer evaluate;

    //商品图片
    private String img;

    //商品文本
    private String productDetails;

    //商品类型
    private String categoryType;
    private Integer categoryId;

    //商品价格
    private Double price;

    //店铺信息
    private String shopName;
    private String shopAddress;
    private Integer shopId;

    //品牌信息
    private String brandName;

    //商品图片(封面/展示)
    private List<GoodsImgDto> goodsImgDtoList;

    //商品图片(详情图)
    private List<GoodsImgDto> goodsImgDtoParticularsList;

    //规格类型

    private Integer specificationId;
    private String specificationType;


    //规格值
    private Integer specificationValueId;
    private Integer sValueId;
    private String specificationValue;
    private List<GoodsDetailDto> specificationDtoList;

    //地址信息
    private Integer receivingId;//地址id
    private String deliveryAddress;//地址
    private String receivingName;//收货人
    private String phone;        //收货人电话

    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }

    public Integer getReceiving() {
        return receivingId;
    }

    public void setReceiving(Integer receiving) {
        this.receivingId = receiving;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getReceivingName() {
        return receivingName;
    }

    public void setReceivingName(String receivingName) {
        this.receivingName = receivingName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getSales_volume() {
        return sales_volume;
    }

    public String getSpecificationValue() {
        return specificationValue;
    }

    public void setSpecificationValue(String specificationValue) {
        this.specificationValue = specificationValue;
    }

    public void setSales_volume(Integer sales_volume) {
        this.sales_volume = sales_volume;
    }

    public Integer getsValueId() {
        return sValueId;
    }

    public void setsValueId(Integer sValueId) {
        this.sValueId = sValueId;
    }

    public Integer getEvaluate() {
        return evaluate;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public void setEvaluate(Integer evaluate) {
        this.evaluate = evaluate;
    }

    public Integer getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(Integer specificationId) {
        this.specificationId = specificationId;
    }

    public List<GoodsImgDto> getGoodsImgDtoParticularsList() {
        return goodsImgDtoParticularsList;
    }

    public void setGoodsImgDtoParticularsList(List<GoodsImgDto> goodsImgDtoParticularsList) {
        this.goodsImgDtoParticularsList = goodsImgDtoParticularsList;
    }

    public Integer getSpecificationValueId() {
        return specificationValueId;
    }

    public void setSpecificationValueId(Integer specificationValueId) {
        this.specificationValueId = specificationValueId;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getProductDetails() {
        return productDetails;
    }

    public void setProductDetails(String productDetails) {
        this.productDetails = productDetails;
    }

    public List<GoodsImgDto> getGoodsImgDtoList() {
        return goodsImgDtoList;
    }

    public void setGoodsImgDtoList(List<GoodsImgDto> goodsImgDtoList) {
        this.goodsImgDtoList = goodsImgDtoList;
    }

    public List<GoodsDetailDto> getSpecificationDtoList() {
        return specificationDtoList;
    }

    public void setSpecificationDtoList(List<GoodsDetailDto> specificationDtoList) {
        this.specificationDtoList = specificationDtoList;
    }

    public String getSpecificationType() {
        return specificationType;
    }

    public void setSpecificationType(String specificationType) {
        this.specificationType = specificationType;
    }

    private Page page;

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }


    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }
    public String getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(String categoryType) {
        this.categoryType = categoryType;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public int getInventory() {
        return inventory;
    }

    public void setInventory(int inventory) {
        this.inventory = inventory;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
